﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="EditarImovel.aspx.cs" Inherits="Imobitech.Gestao.EditarImovel" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <fieldset>
        <div class="clearfix">
            <label>
                Endereço:
            </label>
            <div class="input">
                <asp:TextBox ID="txtEndereco" runat="server" CssClass="xlarge"></asp:TextBox>
            </div>
        </div>
        <div class="clearfix">
            <label>
                Complemento:
            </label>
            <div class="input">
                <asp:TextBox ID="txtComplemento" runat="server" CssClass="xlarge"></asp:TextBox>
            </div>
        </div>
        <div class="clearfix">
            <label>
                Referência:
            </label>
            <div class="input">
                <asp:TextBox ID="txtReferencia" runat="server" CssClass="xlarge"></asp:TextBox>
            </div>
        </div>
        <div class="clearfix">
            <label>
                Bairro:
            </label>
            <div class="input">
                <asp:TextBox ID="txtBairro" runat="server" CssClass="xlarge"></asp:TextBox>
            </div>
        </div>
        <div class="clearfix">
            <label>
                Cidade:
            </label>
            <div class="input">
                <asp:TextBox ID="txtCidade" runat="server" CssClass="xlarge"></asp:TextBox>
            </div>
        </div>
        <div class="clearfix">
            <label>
                Estado:
            </label>
            <div class="input">
                <asp:TextBox ID="txtEstado" runat="server" CssClass="xlarge"></asp:TextBox>
            </div>
        </div>
        <div class="clearfix">
            <label>
                Área Total:
            </label>
            <div class="input">
                <asp:TextBox ID="txtAreaTotal" runat="server" CssClass="xlarge"></asp:TextBox>
            </div>
        </div>
        <div class="clearfix">
            <label>
                Área Privada:
            </label>
            <div class="input">
                <asp:TextBox ID="txtAreaPrivada" runat="server" CssClass="xlarge"></asp:TextBox>
            </div>
        </div>
        <div class="clearfix">
            <label>
                Número de quartos:
            </label>
            <div class="input">
                <asp:TextBox ID="txtQuartos" runat="server" CssClass="xlarge"></asp:TextBox>
            </div>
        </div>
        <div class="clearfix">
            <label class="add-on">
                Possui Suite:
            </label>
            <div class="input">
                <div class="input-prepend">
                    <label class="add-on">
                        <asp:CheckBox ID="txtSuite" runat="server" /></label>
                    <asp:TextBox ID="txtQuartosSuites" runat="server" CssClass="mini"></asp:TextBox>
                </div>
            </div>
        </div>
        <div class="clearfix">
            <label class="add-on">
                Possui Garagem:
            </label>
            <div class="input">
                <div class="input-prepend">
                    <label class="add-on">
                        <asp:CheckBox ID="txtGaragem" runat="server" /></label>
                    <asp:TextBox ID="txtNumeroGaragem" runat="server" CssClass="mini"></asp:TextBox>
                </div>
            </div>
        </div>
        <div class="clearfix">
            <label class="add-on">
                Tipo de imóvel:
            </label>
            <div class="input">
                <ul class="inputs-list">
                    <asp:DropDownList ID="ddlTipoImovel" runat="server" CssClass="xlarge"></asp:DropDownList>
                </ul>
            </div>
        </div>
        <asp:Repeater ID="rptDependencias" runat="server">
            <HeaderTemplate>
                <div class="clearfix">
                    <label class="add-on">
                        Dependências:
                    </label>
                    <div class="input">
                        <ul class="inputs-list">
            </HeaderTemplate>
            <ItemTemplate>
                <li>
                    <label>
                        <asp:CheckBox ID="CheckBoxDependencia" runat="server" />
                        <span>
                            <%# DataBinder.Eval(Container.DataItem, "Value")%></span>
                        <asp:HiddenField ID="CheckBoxDependenciaValue" runat="server" Value='<%# DataBinder.Eval(Container.DataItem, "Key")%>' />
                    </label>
                </li>
            </ItemTemplate>
            <FooterTemplate>
                </ul> </div>
            </FooterTemplate>
        </asp:Repeater>
        <div class="clearfix">
            <div class="input">
                <asp:HiddenField ID="hdfId" runat="server" />
                <asp:Button ID="btnCadastrar" runat="server" OnClick="btnCadastrar_Click" Text="Editar" />
            </div>
        </div>
    </fieldset>
</asp:Content>
